package com.common;

import java.io.Serializable;
import java.util.List;

public interface IBaseDAO<T,PK extends Serializable> {
	public void save(T obj);
	public void update(T obj);
	public void delete(T u);
	public void delete(PK id);
	public T get(PK id);
	public List<T> getAll();
	public List<T> findHql(String hql);
	public List<T> findSql(String sql);
}
